From aa5d083c7611a63ac59531ab68ca9e52e0fe81e7 Mon Sep 17 00:00:00 2001 From: robertlipe Date: Fri, 12 Jul 2013 21:55:23 +0000 Subject: [PATCH] Remove special handling of MSVC from types.h now that we can rely on a grown-up inttypes. --- gpsbabel/gbtypes.h | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/gpsbabel/gbtypes.h b/gpsbabel/gbtypes.h index fb8a89c36..01b52b313 100644 --- a/gpsbabel/gbtypes.h +++ b/gpsbabel/gbtypes.h @@ -22,23 +22,6 @@ #ifndef gb_types_h_included #define gb_types_h_included - -/* - * If this is a problem and any interesting system doesn't have the C99-ism - * of we'll come up with something more clever that'll likely - * include a gross collection of __STDC_VERSION >= 199901L || __GNUC__ - */ - -#if defined(_MSC_VER) - -typedef unsigned long gbuint32; -typedef unsigned short gbuint16; -typedef int gbint32; -typedef short gbint16; -#include - -#else - # if defined (__FreeBSD__) # include # else @@ -50,8 +33,6 @@ typedef uint16_t gbuint16; typedef int32_t gbint32; typedef int16_t gbint16; -#endif /* defined(_MSC_VER) */ - typedef gbuint32 gbsize_t; typedef unsigned char gbuint8; typedef signed char gbint8; -- 2.30.2